<h1>New book</h1>

<% form_for(@book) do |f| %>
  <%= f.error_messages %>
  <%= f.text_field :title%>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', books_path %>
